<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/30
 * Time: 9:07
 */

namespace app\api\model;


class ProductImage extends BaseModel
{

    public function imgUrl(){
        return $this->belongsTo('Image','img_id','id');
    }

}